#ifndef GCCPROJECTCOMPILER_H
#define GCCPROJECTCOMPILER_H

#include "../iprojectcompilerplugin.h"

class GCCProjectCompiler : public IProjectCompilerPlugin
{
    public:
        GCCProjectCompiler() {}
        virtual ~GCCProjectCompiler() {}
        virtual void Initialize() {}

        /// events
        virtual void RegisterEvent( ProjectEventBus* eventBus );
        virtual bool HandleEvent( Events::Event* event );
        virtual void Release() {}

        /// build management
        virtual bool prune() { return true; }
        virtual bool build();
        virtual bool clean();
        virtual bool install() { return true; }
        virtual bool rebuild();
};

DECLARE_PROJECT_COMPILER_PLUGIN_CLASS( GCCProjectCompiler )

#endif // GCCPROJECTCOMPILER_H
